package events;

public abstract class CustomEvent {
	
	protected Object data;

	public CustomEvent(Object data) {
		this.data = data;
	}
	
	public String toString() {
		return getClass().getSimpleName() + " : " + data;
	}
	
	public Object getData() {
		return data;
	}
	public abstract void run(Object obj);
}
